package com.kk.iterator;

import java.util.ArrayList;

public class Client {
    public static void main(String[] args) {

        ArrayList<College> colleges = new ArrayList<>();
        colleges.add(new ComputerCollege());
        colleges.add(new InfoCollege());

        OutPutImpl outPut = new OutPutImpl(colleges);
        outPut.printCollege();
    }
}
